<div class="col-xs-12 col-sm-3 col-lg-2 big-menu">

    <div id="search-menu">
        <input class="form-control input-lg" style="border-radius:0; font-size:14px; height:43px;"
        type="text" placeholder="输入菜单名称可快速查找">
    </div>
    <div class="panel panel-default">


        <div class="panel-heading" style="display: block;">
            <h4 class="panel-title">
                基本功能
            </h4>
            <a class="panel-collapse collapsed" data-toggle="collapse" href="#frame-1">
                <i class="fa fa-chevron-circle-down">
                </i>
            </a>
        </div>
        <ul class="list-group collapse in" id="frame-1">
            <li class="list-group-item<?php if(ACTION_NAME=='wx_basic_reply_list'){echo ' active';}?>" onclick="window.location.href = '{:U('Wechat/wx_basic_reply_list')}'"
            style="cursor: pointer; overflow: hidden; display: block; border-left-width: 0px;"
            kw="文字回复">
                <a class="pull-right" href="#{:U('Wechat/wx_basic_reply')}">
                    <i class="fa fa-plus">
                    </i>
                </a>
                文字回复
            </li>

            <li class="list-group-item<?php if(ACTION_NAME=='wx_menu'){echo ' active';}?>" onclick="window.location.href = '{:U('Wechat/wx_menu')}'"
            style="cursor: pointer; overflow: hidden; display: block; border-left-width: 0px;"
            kw="自定义菜单设置">
                <a class="pull-right" href="#{:U('Wechat/wx_menu')}">
                    <i class="glyphicon glyphicon-list">
                    </i>
                </a>
                自定义菜单设置
            </li>
        </ul>

        <div class="panel-heading" style="display: block;">
            <h4 class="panel-title">
                日志记录
            </h4>
            <a class="panel-collapse collapsed" data-toggle="collapse" href="#frame-2">
                <i class="fa fa-chevron-circle-down">
                </i>
            </a>
        </div>
        <ul class="list-group collapse in" id="frame-2">
            <li class="list-group-item<?php if(ACTION_NAME=='wx_error_log'){echo ' active';}?>" onclick="window.location.href = '{:U('Wechat/wx_error_log')}'"
            style="cursor: pointer; overflow: hidden; display: block; border-left-width: 0px;"
            kw="错误日志">
                <a class="pull-right" href="#{:U('Wechat/wx_error_log')}">
                    <i class="glyphicon glyphicon-info-sign">
                    </i>
                </a>
                错误日志
            </li>
        </ul>


    
        
    </div>

    <script type="text/javascript">
        // require(['bootstrap'],
        // function() {
        //     $('.ext-type').click(function() {
        //         var id = $(this).data('id');
        //         util.cookie.del('ext_type');
        //         util.cookie.set('ext_type', id, 7 * 86400);
        //         location.reload();
        //         return false;
        //     });

        //     $('#search-menu input').keyup(function() {
        //         var a = $(this).val();
        //         $('.big-menu .list-group-item, .big-menu .panel-heading').hide();
        //         $('.big-menu .list-group-item').each(function() {
        //             $(this).css('border-left', '0');
        //             if (a.length > 0 && $(this).attr('kw').indexOf(a) >= 0) {
        //                 $(this).parents(".panel").find('.panel-heading').show();
        //                 $(this).show().css('border-left', '3px #428bca double');
        //             }
        //         });
        //         if (a.length == 0) {
        //             $('.big-menu .list-group-item, .big-menu .panel-heading').show();
        //         }
        //     });
        // });
    </script>
</div>